package com.glink.manage.vo.log;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.glink.common.serializer.JsonDateDeSerializer;
import com.glink.common.serializer.JsonDateSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * Created by IntelliJ IDEA.
 *
 * @Author : qiushaoshan
 * @create 2024/6/24 12:08
 */
@Data
public class LogVO {

    private static final long serialVersionUID = 1L;
    
    @ApiModelProperty(value = "日志类型")
    private String type;

    @ApiModelProperty(value = "日志类型名称")
    private String typeName;

    @ApiModelProperty(value = "日志内容")
    private String content;

    @ApiModelProperty(value = "操作人姓名")
    private String createUserFullName;

    @ApiModelProperty(value = "操作人")
    private String createUser;

    @ApiModelProperty(value = "操作时间")
    @JsonSerialize(using = JsonDateSerializer.class)
    @JsonDeserialize(using = JsonDateDeSerializer.class)
    private Date createTime;

    @ApiModelProperty(value = "ip地址")
    private String ipAddress;
}
